<extend name="Base:base" />
<block name="title">{$title}</block>
<block name="content">
    <form action="{:U('Admin/Menu/editDo')}" method="post">
        <table class="table">
            <tr>
                <th>菜单名</th>
                <td> <input type="hidden" value="{$menu.id}" name="id" /><input type="text" value="{$menu.name}" name="name"/></td>
                <th>菜单类型</th>
                <td>{$menu.menu_type.name}</td>
            </tr>
            <tr>
                <th>是否导航显示</th>
                <td>
                    <input type="radio" name="is_nav" value="1" <if condition="$menu['is_nav'] eq 1"> checked="checked" </if>/>显示
                    <input type="radio" name="is_nav" value="0" <if condition="$menu['is_nav'] eq 0"> checked="checked"</if> />不显示
                </td>
            <th>导航排序</th>
            <td><input type="text"  name="nav_order" value="{$menu.nav_order}" /></td>
            </tr>
            <tr>
                <th>是否底部显示</th>
                <td>
                    <input type="radio" name="is_foot" value="1" <if condition="$menu['is_foot'] eq 1"> checked="checked" </if>/>显示
                    <input type="radio" name="is_foot" value="0" <if condition="$menu['is_foot'] eq 0"> checked="checked"</if> />不显示
                </td>
            <th>底部排序</th>
            <td><input type="text"  name="foot_order" value="{$menu.foot_order}" /></td>
            </tr>
        </table>
        <input type="submit" value="保存修改菜单"/>
    </form>
</block>